import request from '@/utils/request'

// 获取内部主题分页列表
export function gettopicInnerPageApi(params: any) {
    return request({
        url: '/ems/topicInner/selectPage',
        method: 'get',
        params
    })
}
// 获取内部主题列表
export function gettopicInnerListApi(params: any) {
    return request({
        url: '/ems/topicInner/list',
        method: 'get',
        params
    })
}
// 新增内部主题列表
export function addtopicInnerApi(data: any) {
    return request({
        url: '/ems/topicInner/add',
        method: 'post',
        data
    })
}
// 更新内部主题列表
export function updatetopicInnerApi(data: any) {
    return request({
        url: '/ems/topicInner/update',
        method: 'put',
        data
    })
}
// 删除内部主题列表
export function deltopicInnerApi(id: any) {
    return request({
        url: `/ems/topicInner/del/${id}`,
        method: 'delete',
    })
}
